package com.metadata.springbootmetadata;

import com.metadata.springbootmetadata.config.MetadataApiProperties;
import org.springframework.beans.factory.config.ConfigurableListableBeanFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ConfigurableApplicationContext;

@SpringBootApplication
public class SpringBootMetadataApplication {

    public static void main(String[] args) {
        ConfigurableApplicationContext run = SpringApplication.run(SpringBootMetadataApplication.class, args);
        MetadataApiProperties bean = run.getBean(MetadataApiProperties.class);
        ConfigurableListableBeanFactory beanFactory = run.getBeanFactory();

        System.out.println(run);
    }

}
